function lzNavigateBack(){
	uni.navigateBack({
		delta: 1
	});
}
//设置导航条颜色
function lzSetNavigationBarColor(APPTheme){
	let backgroundColor='#000000',frontColor="#ffffff"
	if(APPTheme=='theme-light'){
		backgroundColor='#ffffff'
		frontColor="#000000"
	}else{
		backgroundColor='#000000'
		frontColor="#ffffff"
	}
	uni.setNavigationBarColor({
	    frontColor: frontColor,
	    backgroundColor:backgroundColor,
	    animation: {
	        duration: 400,
	        timingFunc: 'easeIn'
	    }
	})
}
module.exports ={
	lzNavigateBack,
	lzSetNavigationBarColor
}